package com.lq.employmentmanage.common;

/**
 * 状态码枚举类
 * */
public enum ResultCode {

    SUCCESS(0, "返回成功"),//成功的实例
    FAILURE(500, "返回失败");//失败的实例

    private long code;
    private String msg;

    private ResultCode(long code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public long getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
